package com.wwmz.chain.pattern.auth.optimiaze;

import com.wwmz.chain.pattern.auth.Member;

/**
 * Created by wumz on 2020/9/22 15:12
 */
public class LoginHandler extends Handler {
    @Override
    public void doHandler(Member member) {
        System.out.println("登录成功！");
        member.setRoleName("管理员");
        next.doHandler(member);
    }
}
